package com.sheep.api.bean;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 16-4-14
 * Time: 下午1:54
 * To change this template use File | Settings | File Templates.
 */
@XmlRootElement(name="ADSB")
public class ADSBBean implements Serializable {

    private long time = -1;
    private String an = "";
    private String fi = "";
    private double lat = -1;
    private double lon = -1;
    private double vec = -1;
    private double cas = -1;

    public double getCas() {
        return cas;
    }

    @XmlElement(name="cas")
    public void setCas(double cas) {
        this.cas = cas;
    }

    public double getVec() {
        return vec;
    }

    @XmlElement(name="vec")
    public void setVec(double vec) {
        this.vec = vec;
    }

    public long getTime() {
        return time;
    }

    @XmlElement(name="time")
    public void setTime(long time) {
        this.time = time;
    }

    public String getAn() {
        return an;
    }

    @XmlElement(name="an")
    public void setAn(String an) {
        this.an = an;
    }

    public String getFi() {
        return fi;
    }

    @XmlElement(name="fi")
    public void setFi(String fi) {
        this.fi = fi;
    }

    public double getLat() {
        return lat;
    }

    @XmlElement(name="lat")
    public void setLat(double lat) {
        this.lat = lat;
    }

    public double getLon() {
        return lon;
    }

    @XmlElement(name="lon")
    public void setLon(double lon) {
        this.lon = lon;
    }
}
